package com.cskaoyan.service;

import com.cskaoyan.bean.MarketStorage;
import com.cskaoyan.bean.common.BaseRespVo;

import java.io.InputStream;
import java.util.List;

public interface AdminStorageService {
    MarketStorage store(InputStream inputStream, long size, String contentType, String fileName);

    int add(MarketStorage storageInfo);

    List<MarketStorage> list(String key, Integer page, Integer limit, String sort, String order,String name);

    BaseRespVo update(MarketStorage storage);

    BaseRespVo delete(MarketStorage storage);
}
